import { createHashRouter } from "react-router-dom";
import { lazy } from "react";

const router = createHashRouter(
  [
    {
      path: "/",
      Component: lazy(() => import("@/views/Home")),
    },
    {
      path: "/c/:id",
      Component: lazy(() => import("@/views/Home")),
    },
  ],
  {},
);

export default router;
